package com.developer.platform.application.query.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author ：qiaoliang
 * @date ：2020-11-10
 */
@ApiModel("父级可分配资源返回模型")
public class MenuParentDto {
    @ApiModelProperty(value = "id")
    private final long id;
    @ApiModelProperty(value = "名称")
    private final String title;

    public MenuParentDto(long id, String title) {
        this.id = id;
        this.title = title;
    }

    public long getId() {
        return id;
    }

    public String getTitle() {
        return title;
    }

}
